<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'armazem-form',
	'enableAjaxValidation'=>false,
)); ?>
	<div class="formUsuario">
		<p class="note">Campos com <span class="required">*</span> são obrigatórios.</p>
	
		<?php echo $form->errorSummary($model); ?>
	
		<div class="row">
			<?php echo $form->labelEx($model,'NOME_ARMAZEM'); ?>
			<?php echo $form->textField($model,'NOME_ARMAZEM',array('size'=>60,'maxlength'=>200)); ?>
			<?php echo $form->error($model,'NOME_ARMAZEM'); ?>
		</div>
	
		<div class="row">
			<?php echo $form->labelEx($model,'CIDADE_ARMAZEM'); ?>
			<?php echo $form->textField($model,'CIDADE_ARMAZEM',array('size'=>60,'maxlength'=>100)); ?>
			<?php echo $form->error($model,'CIDADE_ARMAZEM'); ?>
		</div>
	
		<div class="row">
			<?php echo $form->labelEx($model,'ESTADO_ARMAZEM'); ?>
			<?php echo $form->textField($model,'ESTADO_ARMAZEM',array('size'=>2,'maxlength'=>2)); ?>
			<?php echo $form->error($model,'ESTADO_ARMAZEM'); ?>
		</div>
	
		<div class="row">
			<?php echo $form->labelEx($model,'TELEFONE_ARMAZEM'); ?>
			<?php echo $form->textField($model,'TELEFONE_ARMAZEM',array('size'=>15,'maxlength'=>15)); ?>
			<?php echo $form->error($model,'TELEFONE_ARMAZEM'); ?>
		</div>
	
		<div class="row buttons">
			<?php echo CHtml::submitButton($model->isNewRecord ? 'Salvar' : 'Salvar'); ?>
		</div>
	
	<?php $this->endWidget(); ?>
	</div>
</div><!-- form -->